#Makefile
#
# Created on: Dec 15, 2008
#     Author: michael

.SUFFIXES:.c

INCLUDE=include
LIBDIR=../lib

CC=cc
CFLAG=-O -DUNIX -DLIB -DDEBUG -DTRACE_FILE='"./trace.log"' -L$(LIBDIR) -lcom -I$(INCLUDE)
EDF=

test:

.c:
	if [ -f lib/libcom.a ]; then ar -x lib/libcom.a; fi
	$(CC) -o $< $(CFLAG) 
	
clean:
	rm -rf *.o
